﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VISS.API.Commons {
    public interface ILunarYear {

        /// <summary>
        /// Insert new LunarYearEnt
        /// </summary>
        /// <param name="item">LunarYearEnt</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Insert(LunarYearEnt item);
        /// <summary>
        /// Update LunarYearEnt
        /// </summary>
        /// <param name="item">LunarYearEnt</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Update(LunarYearEnt item);
        /// <summary>
        /// Delete a LunarYearEnt
        /// </summary>
        /// <param name="iD">ID of LunarYearEnt need to be deleted</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Delete(short iD);

        /// <summary>
        /// Get all LunarYearEnt
        /// </summary>
        /// <returns>return a list of LunarYearEnt (empty list if no LunarYearEnt exists)</returns>
        List<LunarYearEnt> GetAll();
    }
}
